package com.xdxc.model.dto;

import com.xdxc.model.entity.Paper;
import com.xdxc.vo.QuestionWithOptionsVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExamSaveDTO  {
    private int id;
    private String name;
    private String date; // 可以使用 LocalDateTime，具体取决于你的需求
    private int duration;
    private List<QuestionGroup> questionGroups;
    @Data
    public static class QuestionGroup {
        private String type;
        private String title;
        private List<Paper> papers;
    }

    private   List<QuestionWithOptionsVo>  DeletedQuestions;


}
